package com.oa.admin.entity;


import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.baomidou.mybatisplus.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;



import lombok.Data;

/**
 * <p>
 * 认证机构
 * </p>
 *
 * @author syb123
 * @since 2019-01-22
 */
@Data
@TableName("admin_certification_body")
@ApiModel(value = "认证机构")
public class CertificationBody extends Model<CertificationBody> {

    private static final long serialVersionUID = 1L;


    @ApiModelProperty(value = "主键")
    @TableId(value = "id", type = IdType.UUID)
    private String id;

    @ApiModelProperty(value = "类别")
    private String type;

    @ApiModelProperty(value = "机构名称")
    private String name;

    @ApiModelProperty(value = "联系人")
    private String person;

    @ApiModelProperty(value = "联系电话")
    private String phone;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "地址")
    private String place;

    @ApiModelProperty(value = "网站")
    private String website;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "是否删除 1-已删除 2-未删除")
    private Integer isDeleted;


    @Override
    protected Serializable pkVal() {
        return this.id;
    }

}